home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / iritsm3s.zip / makeflag.djg < prev    next >
Text File  |  1992-03-01  |  1KB  |  58 lines

  1. #
  2. # Flags to compile the IRIT solid modeller using DJGCC on the IBM PC.
  3. #
  4. #                    Gershon Elber, Dec 1991
  5. #
  6.  
  7. #
  8. # make file to use. I am using regular Borland's maker (from Borland 3.0).
  9. # This maker is the same as previous Borland compilers make (uprotected
  10. # mode make). In 3.0 make is protected and cause gcc to crash.
  11. # Note you may need to change the include statements in the subdirectory
  12. # makefiles if other make is to be used.
  13. #
  14. MAKE = maker
  15.  
  16. #
  17. #
  18. # All libraries created will be installed into the LIB_DIR directory.
  19. #
  20. LIB_DIR     = /tools/djgpp/mylib
  21. LIB_DIR_DOS = \tools\djgpp\mylib
  22.  
  23. #
  24. # All includes files associated with the installed libraries will be
  25. # installed into the INC_DIR directory.
  26. #
  27. INC_DIR     = /tools/djgpp/myinclud
  28. INC_DIR_DOS = \tools\djgpp\myinclud
  29.  
  30. #
  31. # All binaries created will be installed into the BIN_DIR directory.
  32. #
  33. BIN_DIR = /c/irit/bin
  34. BIN_DIR_DOS = \c\irit\bin
  35.  
  36. #
  37. # Flags using DJ gcc 1.39 for the IBM PC and its graphics drivers
  38. #
  39. CC = gcc
  40. DFLAGS =-DGETCWD -DSTRICMP -DDJGCC
  41. CFLAGS = -O $(DFLAGS)
  42. # CFLAGS = -g -pg $(DFLAGS)
  43. MORELIBS = -lintr -lgr -lpc
  44. MOREOBJS = dosgraph.o
  45.  
  46. #
  47. # Default rule for compilation.
  48. #
  49. .c.o:
  50.     $(CC) $(CFLAGS) -I. -I$(INC_DIR) -c $<
  51. .cc.o:
  52.     $(CC) $(CFLAGS) -I. -I$(INC_DIR) -c $<
  53.  
  54. #
  55. # All libraries.
  56. #
  57. LIBS =    -L$(LIB_DIR) -lmisc -lcagd -lgif
  58.